const $ElytraLayer = Java.loadClass("net.minecraft.client.renderer.entity.layers.ElytraLayer")

CuriosEvents.registerRenderer(event => {
    console.log("registerRenderer");
    event.register("minecraft:elytra", context => {
        console.log("鞘翅渲染");
        $ElytraLayer.render(context.matrixStack, context.renderTypeBuffer, context.light, context.slotContext.entity(), context.limbSwing, context.limbSwingAmount, context.partialTicks, context.ageInTicks, context.netHeadYaw, context.netHeadPitch)
    })
})

